package net.butfly.bus.server.router;

@Deprecated
public class RouterType {
	private enum RouterUse {
		simple
	}

	private enum DirectoryUse {
		simple
	}

	private enum PolicyUse {
		random
	}

	private RouterType() {}

	public static boolean isRouterOfSimple(String use) {
		return use != null && RouterUse.simple.toString().toUpperCase().equals(use.trim().toUpperCase());
	}

	public static boolean isDirectoryOfSimple(String use) {
		return use != null && DirectoryUse.simple.toString().toUpperCase().equals(use.trim().toUpperCase());
	}

	public static boolean isPolicyOfRandom(String use) {
		return use != null && PolicyUse.random.toString().toUpperCase().equals(use.trim().toUpperCase());
	}
}
